<template>
	<view class="ConText">
		 <web-view  :src="address"></web-view>
	</view>
</template>

<script>
	import eonfox from '@/components/eonfox/eonfox.js';
	import fns from '@/components/eonfox/fns.js';
	const ef = new eonfox();
	export default {
		data() {
			return {
				 address:''
			};
		},
		onShow(){
			const that=this
			ef.submit({
				request:{
					config: ['APPLICATIONCONFIG'],
				},
				callback(data){
					const dataList = fns.checkError(data,['config'],function(errno,error){
						console.log(errno, error)
					})
					if(dataList.config && dataList.config.app_android_version &&dataList.config.app_android_version.number){
						
						 that.address = dataList.config.app_android_version.download
					}
				}
				
			})
		}
		
		}
</script>

<style>
</style>
